package com.sun.mybatisplus.openfeign.service;

import com.sun.mybatisplus.entity.BeautyInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import java.util.List;

@FeignClient(name = "mybatis-plus-admin", fallback = BeautyFeignServiceFallBack.class)
public interface BeautyFeignService {

    //查询所有女士信息
    @RequestMapping("/selectAll")
    public List<BeautyInfo> selectAll();
}
